package com.baijiaoxi.common.model.base;

import lombok.Getter;

public enum ErrorModule {
    //最前一位预留
    common(2001000),
    starterQuartz(2002000),
    starterFileHandler(2002100),
    starterRequestInterceptor(2002200),

    //1001,000 -1999,999  共999个模块可用
    user(1001000),//1001001-1001999 每个模块999个可用
    form(1002000),
    category(1003000),
    resource(1004000),
    file(1005000),
    gpmc(1006000),
    autoflow(1007000),
    logistics(1008000),
    novacel(1009000),
    customer(1010000),//客户定制模块

    gongtw(3001000)
    ;

    @Getter
    private int moduleCode;

    ErrorModule(int moduleCode) {
        this.moduleCode = moduleCode;
    }
}
